﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Text;

namespace Ruleweaver.Rules
{
	public sealed class MemberRule : Rule
	{
		internal MemberRule(RuleType type, MemberInfo member, Type memberType, Rule rule) : base(type)
		{
			Member = member;
			MemberType = memberType;
			Rule = rule;
		}

		public new MemberInfo Member { get; private set; }

		public Type MemberType { get; private set; }

		public Rule Rule { get; private set; }
	}
}